package com.dy.lock.screen.scoket;

/**
 * socket传输的对象，head，body部分
 * 
 * @param <T>
 */
public class SocketDTO {
	/**
	 * 传输包头信息
	 */
	private Head head;
	/**
	 * 传输由service调用的参数對象
	 */
	private String body;

	public SocketDTO() {
		super();
	}

	public SocketDTO(Head head, String body) {
		super();
		this.head = head;
		this.body = body;
	}

	public Head getHead() {
		return head;
	}

	public void setHead(Head head) {
		this.head = head;
	}

	public String getBody() {
		return body;
	}

	public void setBody(String body) {
		this.body = body;
	}

}
